package com.example.food_contract_system.service;

import com.example.food_contract_system.domain.Agency;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.food_contract_system.util.R;
import com.example.food_contract_system.vo.AddAgencyVo;
import com.example.food_contract_system.vo.BossUpdateVo;
import com.example.food_contract_system.vo.LoginVo;
import org.springframework.web.multipart.MultipartFile;

/**
* @author Lhy
* @description 针对表【agency】的数据库操作Service
* @createDate 2023-07-06 09:21:49
*/
public interface AgencyService extends IService<Agency> {

    R check(boolean flag, String region);

    R addAgency(AddAgencyVo addAgencyVo);

    R login(LoginVo loginVo);

    R getAgencyByBossAgency(String aId);

    R getAgencyById(String aId);

    R updateAgencyPwd(String aId, BossUpdateVo bossUpdateVo);
}
